package java8.lambda.demo01;

import org.junit.jupiter.api.BeforeEach;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * @author ChangLiang
 * @date 2020/4/22
 */
public class AbstractAppleBeforeTest {

    public List<Apple> list = new ArrayList<>();

    @BeforeEach
    public void setUp() {
        list.addAll(Arrays.asList(
                new Apple("green", 150),
                new Apple("yellow", 120),
                new Apple("green", 170),
                new Apple("yellow", 160),
                new Apple("green", 130)
        ));
    }
}
